package com.heima.article.service;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.article.pojos.ApArticleConfig;
import org.apache.ibatis.annotations.Mapper;

import java.util.Map;

@Mapper
public interface ApArticleConfigService extends IService<ApArticleConfig> {


    /**
     * 文章上下架
     * @param map
     */
    void updateByMap(Map map);

    /**
     * app端文章逻辑删除
     * @param id
     */
    void deleteByArticle(Long articleId);

}
